package website.digitalocean.chapter4;

import java.util.Date;

/**
 * @Author: 582895699@qq.com
 * @Desctription:
 * @Date: Created in 2023/2/9 22:11
 */
public class TestDesignPatterns {
    public static void main(String[] args) {
        Computer build = new Computer.ComputerBuild("100GB", "8GB").setGraphicsCardEnabled(true).build();
        System.out.println(build.toString());

        User build1 = new User.Build("123").build();
        System.out.println(build1.toString());
    }
}
